/**
 * 
 */
package com.lvan.dao.mapper;

import java.io.Serializable;
import java.util.List;
import java.util.Map;


import com.lvan.bean.User;

/**
 * @author lvan.he<br>
 * 2013-7-12<br>
 * @version 1.0.0.0 
 */
public interface UserMapper{
    public User queryByName(String userName);

    public List<User> query(Map<String, Object> m);
    
    public int delete(Serializable ids);
    
    public int update(User user);

    public int addUser(User user);
    
    public User queryById(Serializable name);
    
    public int count(User user);
}
